package com.mack.batterypicture;

import com.mack.batterypicture.slice.BatteryPictureAbilitySlice;
import com.mack.batterypicture.slice.MainAbilitySlice;
import com.mack.batterypicture.utils.Const;
import ohos.aafwk.ability.Ability;
import ohos.aafwk.content.Intent;

public class MainAbility extends Ability {
    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);
        super.setMainRoute(MainAbilitySlice.class.getName());
        addActionRoute(Const.PACKAGE_PAGE, BatteryPictureAbilitySlice.class.getName());

    }
}
